UpStream\Comments D

Total Complexity 213
Dependencies 4
Dependents 1
Total lines 1,348
Lines of code 899
Logical lines of code 442
Comment lines 206
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
defineNotificationRecipients()
D
24
39 176
getComments()
B
31 20 113
storeCommentReply()
B
36 22 72
storeComment()
B
36 21 68
fetchComments()
B
38 19 63
trashComment()
B
41 18 52
filter_allowed_tags()
B
37 13 91
toggleCommentApprovalStatus()
A
45 16 37
unapproveComment()
A
43 9 50
approveComment()
A
43 9 49
defineNotificationHeader()
A
47 9 33
addItemTitleToNotification()
S
55 5 19
removeCommentType()
S
58 2 17
attachHooks()
S
55 1 19
filter_comment_notification_text()
S
66 2 8
__construct()
S
67 2 9
filter_comment_notification_headers()
S
70 2 6
isItemTypeValid()
S
74 1 4
is_comment_from_project()
S
72 1 5
replace_email_with_html_link()
S
75 1 4
replace_link_with_html_link()
S
75 1 4